package cn.itcast.dao;


import cn.itcast.vo.CountVo;
import cn.itcast.vo.HotSetmeal;
import cn.itcast.vo.SumCount;
import org.apache.ibatis.annotations.Param;


import java.util.List;


public interface CountViewDao {

    List<CountVo> vipCount();

    List<CountVo> setmealCount();

    List<CountVo> incomeCount();

    List<SumCount> orderCount();

    List<HotSetmeal> findsetmeal();

    int selectByDay(String s);

    int selectSum();

    int selectByWeek(@Param("firstDay") String firstDay,@Param("lastDay") String lastDay);

    int selectByMonth(String month);

    int todayorder(String s);

    int todayvisitor(@Param("s") String s,@Param("i") int i);

    int weekorder(@Param("firstDay") String firstDay,@Param("lastDay") String lastDay);


    int weekvisitor(@Param("firstDay") String firstDay,@Param("lastDay") String lastDay,@Param("i") int i);

    int monthorder(String month);

    int monthvisitor(@Param("month") String month ,@Param("i") int i);
}
